package com.dk.file.dto;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component //放入IOC容器
@ConfigurationProperties(prefix = "qiniu")//读取yml文件的多个属性
public class QiniuOSSDto {
    private String ak;
    private String sk;
    private String bucket;
    private String baseUrl;
}
